package com.frame.work.common.constant;

/**
 * 设备警报类型
 *
 * @author hewenze
 */
public enum TypeEnum {

    NORMAL("1", "提示"),
    WARNING("2", "警报"),
    STATE("3", "状态"),

    ACCOUNT("6", "账号安全"),
    DEVICE_TYPE("7", "设备类消息"),
    GATEWAY_TYPE("gateway", "网关类"),

    SYSTEM_TYPE("8", "系统");
    /**
     * 类型编号
     */
    String code;

    /**
     * 类型信息
     */
    String message;


    TypeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }


    public String code() {
        return code;
    }

    public String messgae() {
        return message;
    }


}
